package com.team2.outpatient_sys.pojo;

public class StorageInMedicine {
    private Integer id;
    private Integer medicineId;
    private Integer inNum;
    private String inTime;
    private String shelves;
    private String dateManufacture;
    private Medicine medicine;

    public StorageInMedicine(){}

    @Override
    public String toString() {
        return "StorageInMedicine{" +
                "id=" + id +
                ", medicineId=" + medicineId +
                ", inNum=" + inNum +
                ", inTime='" + inTime + '\'' +
                ", shelves='" + shelves + '\'' +
                ", dateManufacture='" + dateManufacture + '\'' +
                ", medicine=" + medicine +
                '}';
    }

    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public Integer getInNum() {
        return inNum;
    }

    public void setInNum(Integer inNum) {
        this.inNum = inNum;
    }

    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = inTime;
    }

    public String getShelves() {
        return shelves;
    }

    public void setShelves(String shelves) {
        this.shelves = shelves;
    }

    public String getDateManufacture() {
        return dateManufacture;
    }

    public void setDateManufacture(String dateManufacture) {
        this.dateManufacture = dateManufacture;
    }

    public Medicine getMedicine() {
        return medicine;
    }

    public void setMedicine(Medicine medicine) {
        this.medicine = medicine;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public StorageInMedicine(Integer id, Integer medicineId, Integer inNum, String inTime, String shelves, String dateManufacture, Medicine medicine) {
        this.id = id;
        this.medicineId = medicineId;
        this.inNum = inNum;
        this.inTime = inTime;
        this.shelves = shelves;
        this.dateManufacture = dateManufacture;
        this.medicine = medicine;
    }
}
